package com.ihr360.payroll.dao;

import com.ihr360.payroll.model.dto.salary.task.period.PayPeriodTerm;
import com.ihr360.rest.reposity.SimpleRestReposity;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

public interface PayPeriodTermRepository extends SimpleRestReposity<PayPeriodTerm, Long> {

    @Query(value = "select payPeriod_id from payperiodterm where id=?", nativeQuery = true)
    Long queryPayperiodId(Long id);
}